package com.pie4cloud.pie.jpa.page;

import lombok.Data;

import java.util.List;

/**
 * @program: sod
 * @description:
 * @author: zzj
 * @create: 2019-11-18 22:09
 **/

@Data
public class PageBean<T> {


    private List<T> records;

    private long total;

    private Integer pages;

    public PageBean(){

	}

    public PageBean(long total,Integer pages,List<T> records){
        this.total=total;
        this.pages=pages;
        this.records=records;
    }

}

